//
//  TT_TabbarViewController.h
//  BaseProject
//
//  Created by 王洋 on 2020/4/1.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CYLTabBarController/CYLTabBarController.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, TT_TabbarIndexType) {
    TT_TabbarIndexType_Home,
    //TT_TabbarIndexType_Category,
    TT_TabbarIndexType_Community,
    TT_TabbarIndexType_Baike,
    TT_TabbarIndexType_Mine,
};

@interface TT_TabbarViewController : CYLTabBarController

@property (strong, nonatomic) TT_NavigationViewController *homeNav;
@property (strong, nonatomic) TT_NavigationViewController *categoryNav;
@property (strong, nonatomic) TT_NavigationViewController *communityNav;
@property (strong, nonatomic) TT_NavigationViewController *baikeNav;
@property (strong, nonatomic) TT_NavigationViewController *mineNav;

+ (instancetype)shareTabbar;

- (instancetype)initWithContext:(NSString *)context;

- (void)setCurrentIndex:(TT_TabbarIndexType)indexType;

@end

NS_ASSUME_NONNULL_END
